Namespace - LJCNetCommon
Parameters
value - The value object.
Returns
The boolean value or false if the object is null.
Also returns false if the object is not type "bool".
Syntax
| C# |
|
public static Boolean GetBoolean(Object value)
|
Gets a boolean value from an object.
Example
| C# |
using LJCNetCommon;
private static void GetBoolean()
{
bool setup = true;
object obj = setup;
var result = NetCommon.GetBoolean(obj);
result:
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.